package org.mydba.report.gui;

/**
 * Denotes an historical position.
 *
 * @since 1.0
 */
public class HistoricalPosition {
    private int tabIndex;
    private int caretPosition;

    HistoricalPosition(final int tabIndex, final int caretPosition) {
        this.tabIndex = tabIndex;
        this.caretPosition = caretPosition;
    }

    public int getTabIndex() {
        return tabIndex;
    }

    public int getCaretPosition() {
        return caretPosition;
    }

    @Override
    public String toString() {
        return "HistoricalPosition [tabIndex="+tabIndex+", caretPosition="+caretPosition+"]";
    }
}
